Function DEV1
{
	Write-Host "Hello DEV1 "
	Do 
		{ 
			Write-Host 
			" #### Welcome to the Security Menu ####
			Please select your environment 
			1 = DEV1
			2 = DEV2
			3 = CATE FT1
			4 = CATE FT2
			5 = CATE NFT1
			6 = CATE PS1

			#######################################"

			$choice1 = read-host -prompt "Select number & press enter" 
		} 
	until ($choice1 -eq "1" -or $choice1 -eq "2" -or $choice1 -eq "3" -or $choice1 -eq "4" -or $choice1 -eq "5" -or $choice1 -eq "6")

	Switch ($choice1) 

	{ 
		"1" {write 1} 
		"2" {write 2} 
		"3" {Write 3} 
		"4" {Write 4} 
		"5" {Write next sub-menu here} 
		"6" {Write next sub-menu here} 
		
	}
}
